﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Bary</title>

<script src="Resource/js/wsGridCtrl.js"></script>
<link rel="stylesheet" type="text/css" id="css" href="Resource/css/main.css">

<body>
	<div id="framed">
  	<h2>新增分类</h2>
  </div>

<%
	String uid = (String)request.getParameter("id");
%>
  
  <div class="fieldset" >
  	<br />
  	<br />
<form action="addCata.do" method="post" name="addCata" id="addCata">
	
	<label for="code" class="fieldset">分类代码</label>
	<input type="text" name="code" />
	
	<label for="cataName">分类名称</label>
	<input type="text" name="cataName" />
	
	<label for="viewOrder">分类显示顺序</label>
	<input type="text" name="viewOrder" />
	
	<label for="isFake">分类类型</label>
	<select size="1" id="isFake" name="isFake">
			<option value="0">普通分类</option>
			<option value="1">伪分类</option>
			<option value="2">推荐商品</option>
		</select>
	
	<input type="hidden" name="id" value="<%=uid%>"/>
	<br />
	<br />
	<br />
	<input type="submit" value="提交" />
	

	
</form>

  </div>
</body>
</html>